//
//  LSZLearningCatalogueManager.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/8/19.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZLearningCatalogueManager.h"

@implementation LSZLearningCatalogueManager
-(id)initWithLearningCatalogue :(NSArray *)array
{
    self = [super init];
    if (self) {
        self.mutMgArray  = [[NSMutableArray alloc]init];
        NSMutableArray * arrayMut = [[NSMutableArray alloc]init];
        for (NSDictionary * diction in array) {
            LSZLearningCatalogueMg * mg = [[LSZLearningCatalogueMg alloc]init];
            mg.branchName = NullStringjudgment(NSStr(diction[@"branchName"]));
            NSString * sr = [NSString stringWithFormat:@"%@%@",URLTotalWeb,diction[@"coverUrl"]];
            mg.coverUrl = NullStringjudgment(NSStr(sr));
            mg.id_id = NullStringjudgment(NSStr(diction[@"id"]));
            mg.name = NullStringjudgment(NSStr(diction[@"name"]));
            mg.summary = NullStringjudgment(NSStr(diction[@"summary"]));
            mg.publishTime = NullStringjudgment(NSStr(diction[@"publishTime"]));
            mg.sortIndex = NullStringjudgment(NSStr(diction[@"sortIndex"]));
            [arrayMut addObject:mg];
        }
        self.mutMgArray = arrayMut;
    }
    return self;
}
@end

@implementation  LSZLearningCatalogueMg
@end
